import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    name: 'Home',
    component: () => import('../views/Home.vue'),
  },
  {
    path: '/curriculum',
    name: 'curriculum',
    component: () => import('../views/curriculum.vue')
  },
  {
    path: '/record',
    name: 'record',
    component: () => import('../views/record.vue')
  },
  {
    path: '/practice',
    name: 'practice',
    component: () => import('../views/practice.vue')
  },
  {
    path: '/my',
    name: 'my',
    component: () => import('../views/my.vue')
  },
  {
    path: '/details',
    name: 'details',
    component: () => import('../views/details.vue')
  },
  {
    path: '/courceDetail',
    name: 'courceDetail',
    component: () => import('../views/courceDetail.vue')
  },
  {
    path: '/search',
    name: 'search',
    component: () => import('../views/search.vue')
  },
  {
    path: '/point',
    name: 'point',
    component: () => import('../views/point.vue')
  },
  {
    path: '/Currsearch',
    name: 'Currsearch',
    component: () => import('../views/Currsearch.vue')
  },
  {
    path: '/login',
    name: 'login',
    component: () => import('../views/login.vue')
  },
  {
    path: '/editPassword',
    name: 'editPassword',
    component: () => import('../views/editPassword.vue')
  },
  {
    path: '/outLogin',
    name: 'outLogin',
    component: () => import('../views/outLogin.vue')
  }

]

const router = new VueRouter({
  routes
})

export default router
